<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WeiboAndroid: com.example.hp.weibo.WeibopinglunActivity类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WeiboAndroid
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">微博</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp.html">hp</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp_1_1weibo.html">weibo</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html">WeibopinglunActivity</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.hp.weibo.WeibopinglunActivity类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.example.hp.weibo.WeibopinglunActivity 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a53d7274d471fe09f4f19721cdff824f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a53d7274d471fe09f4f19721cdff824f9">onCreate</a> (Bundle savedInstanceState)</td></tr>
<tr class="separator:a53d7274d471fe09f4f19721cdff824f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a74ff9ee8ed86983ee04aad535e42dc0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a74ff9ee8ed86983ee04aad535e42dc0c">show</a> (final String response)</td></tr>
<tr class="separator:a74ff9ee8ed86983ee04aad535e42dc0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a6f4b0796ab48bbdba1498eecb5ab493d"><td class="memItemLeft" align="right" valign="top">EditText&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a6f4b0796ab48bbdba1498eecb5ab493d">edit1</a></td></tr>
<tr class="memdesc:a6f4b0796ab48bbdba1498eecb5ab493d"><td class="mdescLeft">&#160;</td><td class="mdescRight">编辑框  <a href="#a6f4b0796ab48bbdba1498eecb5ab493d">更多...</a><br /></td></tr>
<tr class="separator:a6f4b0796ab48bbdba1498eecb5ab493d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3618e19b40d046c7273366a7f3c278b6"><td class="memItemLeft" align="right" valign="top">Button&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a3618e19b40d046c7273366a7f3c278b6">btnqueding</a></td></tr>
<tr class="memdesc:a3618e19b40d046c7273366a7f3c278b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">确定按钮  <a href="#a3618e19b40d046c7273366a7f3c278b6">更多...</a><br /></td></tr>
<tr class="separator:a3618e19b40d046c7273366a7f3c278b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24869ad1dcac3577c4de9d8efe9170d8"><td class="memItemLeft" align="right" valign="top">Button&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a24869ad1dcac3577c4de9d8efe9170d8">btnquxiao</a></td></tr>
<tr class="memdesc:a24869ad1dcac3577c4de9d8efe9170d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">取消按钮  <a href="#a24869ad1dcac3577c4de9d8efe9170d8">更多...</a><br /></td></tr>
<tr class="separator:a24869ad1dcac3577c4de9d8efe9170d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a523fdeeb8f076c1f7feb6aa06deb30e2"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a523fdeeb8f076c1f7feb6aa06deb30e2">Weibonum</a></td></tr>
<tr class="memdesc:a523fdeeb8f076c1f7feb6aa06deb30e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">微博号  <a href="#a523fdeeb8f076c1f7feb6aa06deb30e2">更多...</a><br /></td></tr>
<tr class="separator:a523fdeeb8f076c1f7feb6aa06deb30e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815f73c658a0e111108329130f01c483"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a815f73c658a0e111108329130f01c483">weibohead</a></td></tr>
<tr class="memdesc:a815f73c658a0e111108329130f01c483"><td class="mdescLeft">&#160;</td><td class="mdescRight">微博头像  <a href="#a815f73c658a0e111108329130f01c483">更多...</a><br /></td></tr>
<tr class="separator:a815f73c658a0e111108329130f01c483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63852385e3642f193c8f6482786e6e10"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a63852385e3642f193c8f6482786e6e10">weiboname</a></td></tr>
<tr class="memdesc:a63852385e3642f193c8f6482786e6e10"><td class="mdescLeft">&#160;</td><td class="mdescRight">微博昵称  <a href="#a63852385e3642f193c8f6482786e6e10">更多...</a><br /></td></tr>
<tr class="separator:a63852385e3642f193c8f6482786e6e10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34375faa9ce1acef4faf3b958d22e7ee"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a34375faa9ce1acef4faf3b958d22e7ee">Phone</a></td></tr>
<tr class="memdesc:a34375faa9ce1acef4faf3b958d22e7ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">手机号  <a href="#a34375faa9ce1acef4faf3b958d22e7ee">更多...</a><br /></td></tr>
<tr class="separator:a34375faa9ce1acef4faf3b958d22e7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405d5267fad27b67ee824ebc414ee5a3"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a405d5267fad27b67ee824ebc414ee5a3">pinglunWord</a></td></tr>
<tr class="memdesc:a405d5267fad27b67ee824ebc414ee5a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">上一级评论内容  <a href="#a405d5267fad27b67ee824ebc414ee5a3">更多...</a><br /></td></tr>
<tr class="separator:a405d5267fad27b67ee824ebc414ee5a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f48143eda8594577d0dc4dbc3f6312c"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a2f48143eda8594577d0dc4dbc3f6312c">pinglunTime</a></td></tr>
<tr class="memdesc:a2f48143eda8594577d0dc4dbc3f6312c"><td class="mdescLeft">&#160;</td><td class="mdescRight">上一级评论时间  <a href="#a2f48143eda8594577d0dc4dbc3f6312c">更多...</a><br /></td></tr>
<tr class="separator:a2f48143eda8594577d0dc4dbc3f6312c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff7a94cc42a786f3d4f4cc6febe7df7"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_weibopinglun_activity.html#a0ff7a94cc42a786f3d4f4cc6febe7df7">level</a></td></tr>
<tr class="memdesc:a0ff7a94cc42a786f3d4f4cc6febe7df7"><td class="mdescLeft">&#160;</td><td class="mdescRight">上一家评论等级  <a href="#a0ff7a94cc42a786f3d4f4cc6febe7df7">更多...</a><br /></td></tr>
<tr class="separator:a0ff7a94cc42a786f3d4f4cc6febe7df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Created by hp on 2018/12/20. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a53d7274d471fe09f4f19721cdff824f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53d7274d471fe09f4f19721cdff824f9">&#9670;&nbsp;</a></span>onCreate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.WeibopinglunActivity.onCreate </td>
          <td>(</td>
          <td class="paramtype">Bundle&#160;</td>
          <td class="paramname"><em>savedInstanceState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>接收上一活动所传参数</p>
<p>初始化控件</p>
<p>返回确定按钮点击事件</p>
<p>从编辑框获取评论内容</p>
<p>正文不为空 获取系统时间</p>
<p>向服务器提交参数</p>
<p>联网失败，提示用户网络异常</p>
<p>获取返回值</p>
<p>返回值为1，提示用户发表成功</p>
<p>返回值为0，提示用户发表失败</p>
<p>评论或回复为空，提示用户内容不能没空</p>
<p>取消按钮点击事件</p>
<p>跳出对话框，是否取消发送评论</p>
<p>点击取消不执行操作，返回当前页面</p>
<p>点击确定取消回复或评论，并跳转至原页面</p>
<p>跳转至查看评论活动</p>
<p>跳转至查看微博活动 </p>

</div>
</div>
<a id="a74ff9ee8ed86983ee04aad535e42dc0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74ff9ee8ed86983ee04aad535e42dc0c">&#9670;&nbsp;</a></span>show()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.WeibopinglunActivity.show </td>
          <td>(</td>
          <td class="paramtype">final String&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>根据不同操作，给用户不同提示</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">response</td><td>要显示的值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a3618e19b40d046c7273366a7f3c278b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3618e19b40d046c7273366a7f3c278b6">&#9670;&nbsp;</a></span>btnqueding</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Button com.example.hp.weibo.WeibopinglunActivity.btnqueding</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>确定按钮 </p>

</div>
</div>
<a id="a24869ad1dcac3577c4de9d8efe9170d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24869ad1dcac3577c4de9d8efe9170d8">&#9670;&nbsp;</a></span>btnquxiao</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Button com.example.hp.weibo.WeibopinglunActivity.btnquxiao</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>取消按钮 </p>

</div>
</div>
<a id="a6f4b0796ab48bbdba1498eecb5ab493d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f4b0796ab48bbdba1498eecb5ab493d">&#9670;&nbsp;</a></span>edit1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">EditText com.example.hp.weibo.WeibopinglunActivity.edit1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>编辑框 </p>

</div>
</div>
<a id="a0ff7a94cc42a786f3d4f4cc6febe7df7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ff7a94cc42a786f3d4f4cc6febe7df7">&#9670;&nbsp;</a></span>level</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.level</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>上一家评论等级 </p>

</div>
</div>
<a id="a34375faa9ce1acef4faf3b958d22e7ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34375faa9ce1acef4faf3b958d22e7ee">&#9670;&nbsp;</a></span>Phone</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.Phone</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>手机号 </p>

</div>
</div>
<a id="a2f48143eda8594577d0dc4dbc3f6312c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f48143eda8594577d0dc4dbc3f6312c">&#9670;&nbsp;</a></span>pinglunTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.pinglunTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>上一级评论时间 </p>

</div>
</div>
<a id="a405d5267fad27b67ee824ebc414ee5a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a405d5267fad27b67ee824ebc414ee5a3">&#9670;&nbsp;</a></span>pinglunWord</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.pinglunWord</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>上一级评论内容 </p>

</div>
</div>
<a id="a815f73c658a0e111108329130f01c483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a815f73c658a0e111108329130f01c483">&#9670;&nbsp;</a></span>weibohead</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.weibohead</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>微博头像 </p>

</div>
</div>
<a id="a63852385e3642f193c8f6482786e6e10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63852385e3642f193c8f6482786e6e10">&#9670;&nbsp;</a></span>weiboname</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.weiboname</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>微博昵称 </p>

</div>
</div>
<a id="a523fdeeb8f076c1f7feb6aa06deb30e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a523fdeeb8f076c1f7feb6aa06deb30e2">&#9670;&nbsp;</a></span>Weibonum</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.WeibopinglunActivity.Weibonum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>微博号 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>G:/AndroidWork/WeiBo/app/src/main/java/com/example/hp/weibo/<a class="el" href="_weibopinglun_activity_8java.html">WeibopinglunActivity.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
